export default {
	data() {
		return {
		}
	},
	methods: {
		onShare(id, code, type){
			uni.navigateToMiniProgram({
			  appId: 'wx690ba15184c61bd9',
			  path: `/pages/share/shareDefault/shareDefault?id=${id}&&shareCode=${code}&&shareType=${type}`
			})
		},
		onShareCode(id, code){
			this.$reqJsonPost('StockHolderGiftBagGetShareQrCode', {id: id, shareCode: code}).then(res=>{
				uni.previewImage({
					urls: [res.data.data]
				})
			})
		}
	}
}
